endpoints.page.{scope}
获取授权的功能入口端点
- 请求路由:
endpoints.page.{scope}- 交互模型:
Request Stream- 访问限制: 无
请求
RSocket.rs({
"route" : "endpoints.page.svpd-con"
});
请求参数
| 名称 | 类型 | 必须 | 说明 |
|---|---|---|---|
scope | String | 是 | 平台功能scope标识 |
返回
已授权给当前用户的功能入口端点列表
[
{
"id" : "dashboard",
"name" : "工作台",
"path" : "/dashboard",
"icon" : "dashboard",
"children" : [ ]
},
{
"id" : "exit",
"name" : "出境预约",
"path" : "/exit",
"icon" : "chu1",
"children" : [ ]
},
{
"id" : "entry",
"name" : "入境预约",
"path" : "/entry",
"icon" : "chu1-copy",
"children" : [ ]
},
{
"id" : "sys",
"name" : "系统管理",
"path" : "/sys",
"icon" : "xitongguanli",
"children" : [
{
"id" : "sys:roles",
"name" : "权限控制",
"path" : "/sys/roles",
"icon" : "touming",
"children" : [ ]
},
{
"id" : "sys:dicts",
"name" : "数据字典",
"path" : "/sys/dicts",
"icon" : "touming",
"children" : [ ]
}
]
}
]
返回属性
| 名称 | 类型 | 说明 |
|---|---|---|
id | String | 端点标识 |
name | String | 端点名称 |
path | String | 入口路径 |
icon | String | 菜单图标 |
children | Object[] | 子端点列表 |
children.[].id | String | 端点标识 |
children.[].name | String | 端点名称 |
children.[].path | String | 入口路径 |
children.[].icon | String | 菜单图标 |
children.[].children | Object[] | 子端点列表 |